// utils/rem.js
export const setRem = (designWidth = 375, baseSize = 37.5) => {
    const html = document.documentElement;
    const setSize = () => {
      html.style.fontSize = `${html.clientWidth / designWidth * baseSize}px`;
    };
    setSize();
    window.onresize = setSize;
};
